Skip to content

Fix NuGet publish step (nupkg glob not expanded under pwsh)#10

Merged
yuwenhuisama merged 1 commit into
mainfrom
fix/nuget-publish-glob
Jun 8, 2026
Merged

Fix NuGet publish step (nupkg glob not expanded under pwsh)#10
yuwenhuisama merged 1 commit into
mainfrom
fix/nuget-publish-glob

Conversation

@yuwenhuisama

Copy link
Copy Markdown
Contributor

The v0.1.9 publish run failed at "Publish to NuGet.org" with:
error: File does not exist (nupkgs/*.nupkg).

The Windows publish job runs under pwsh, where dotnet nuget push "nupkgs/*.nupkg"
is passed the literal glob (pwsh does not expand it and dotnet treats it as a
literal path). The Pack step DID create nupkgs/MRuby.Library.0.1.9.nupkg correctly.

Fix: resolve the .nupkg file(s) explicitly with Get-ChildItem and push each one.

After merge, the v0.1.9 tag will be re-pointed to the new main to re-trigger the
publish workflow.

@yuwenhuisama yuwenhuisama merged commit cd4ec44 into main Jun 8, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant